package cn.ha.toy.aop;

/**
 * Created by zjl on 5/9/16.
 */
public class TestAspect {
    public void before(){
        log("before");
    }
    public void after(){
        log("after");
    }
    public void afterReturning(){
        log("afterReturning");
    }
    public void afterThrowing(){
        log("afterThrowing");
    }
    private void log(String tip){
        System.out.println(tip);
    }
}
